Page({
  data: {
    levelId: '',
    levelName: ''
  },

  onLoad(options) {
    this.setData({
      levelId: options.id || '',
      levelName: options.name || '未知关卡'
    });
  },

  onBackTap() {
    wx.navigateBack();
  }
});